home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 3,701 to 3,800
/
aol-file-protocol-4400-3701-to-3800.zip
/
AOLDLs
/
Other Special Interests
/
QUICKS_ v2.0 Slide Show Maker
/
QUICKS~1.exe
/
Quick Slide.CAB
/
lastpart.txt
< prev
next >
Wrap
Text File
|
2003-02-09
|
3KB
|
158 lines
);
var ImgNum = 0;
var ImgLength = NewImg.length - 1;
//Time delay between Slides in milliseconds
var delay = 3000;
var lock = false;
var run;
function chgImg(direction) {
if (document.images) {
ImgNum = ImgNum + direction;
if (ImgNum > ImgLength) {
ImgNum = 0;
}
if (ImgNum < 0) {
ImgNum = ImgLength;
}
document.slideshow.src = NewImg[ImgNum];
document.title = NewImg[ImgNum];
document.FileNameForm.FileName.value = NewImg[ImgNum];
}
}
function auto() {
if (lock == true) {
lock = false;window.clearInterval(run);
}
else if (lock == false) {
lock = true;
run = setInterval("chgImg(1)", delay);
}
}
// End -->
</script>
</HEAD>
<BODY>
<div align="center"><center>
<table border="1" cellpadding="5" cellspacing="0" >
<tr>
</tr>
<tr>
<td>
<img src="" name="slideshow" id="image1"> </td>
</tr>
</table>
<SLIDEFORM method="POST">
<input type="button" value="Previous Picture"
language="JavaScript"
onclick="
{
javascript:chgImg(-1)
}">
<input type="button" value="Start/Stop Slideshow"
language="JavaScript"
onclick="
{
javascript:auto()
}">
<input type="button" value="Next Picture"
language="JavaScript"
onclick="
{
javascript:chgImg(1)
}">
</SLIDEFORM>
<form NAME="FileNameForm">
File Name: <input type="text" name="FileName" size="40" maxlength="80" value="">
</form>
<FORM method="POST">
<input type="button" value="400x300"
language="JavaScript"
onclick="
{
image1.height = 300;
image1.width = 400;
}">
<input type="button" value="640x480"
language="JavaScript"
onclick="
{
image1.height = 480;
image1.width = 640;
}">
<input type="button" value="800x600"
language="JavaScript"
onclick="
{
image1.height = 600;
image1.width = 800;
}">
</FORM>
<tr>
<table width="50%">
</tr>
</center></div>
<SCRIPT LANGUAGE="JavaScript">
<!--begin java code
chgImg(1)
auto()
// End -->
</script>
<!-- Original Javascript from: Mike Canonigo (mike@canonigo.com) -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascriptsource.com -->
<!-- The following 3 lines must remain in lastpart.txt
until Quick-Slide has been registered -->
<table border="1" cellpadding="5" cellspacing="0" ><tr><td align="center"><p>
This slide show produced using "Quick-Slide" Show Maker.
<A href="http://www.CD-Images.com">Download your free demo of Quick-Slide at www.CD-Images.com</A></td></tr></table></BODY>